package com.mtsui.client;
import com.google.gwt.user.client.Random;;

public class RandomPlayer implements PaperScissorRockPlayerInterface {
    int happy = 0;
	public void doLearn(int myMove, int theirMove, int result) {
		if(result > 0) happy++;
		else if(result < 0) happy--;
	}

	public int ProvideMove() {
	    return Random.nextInt(3);
	}

}
